package com.dhecp.project.api.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.api.domain.Distribution;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @ClassName DistributionMapper
 * @Description TODO
 * @Author alula
 * @Date 2022-08-30 17:14
 */
public interface DistributionMapper extends GenericDao<Distribution, Integer> {

    List<Distribution> findDistributionList(Map<String, Object> params);

    Distribution findDistributionById(@Param("guid") String guid);

    int insertBatchDistribution(List<Distribution> list);

    int deleteDistributionByMap(Map<String, Object> params);
}
